//
//  TicTacPosition.h
//  TicTacToe
//
//  Created by Tim on 09-12-01.
//  Copyright 2009 Tim Dimsdale. All rights reserved.
//
// This file is part of TicTacToe.
// 
// TicTacToe is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// TicTacToe is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with TicTacToe.  If not, see <http://www.gnu.org/licenses/>
//
#import <Cocoa/Cocoa.h>

/*!
 \brief Simple class to assist with a tic tac toe position.
 */
@interface TicTacPosition : NSObject {
	/*!
	 The horizontal position
	 */
	int x;
	/*!
	 The vertical position
	 */
	int y;
}

/*!
 \brief constructor
 \param xx Initial horizontal position
 \param yy Initial vertical position
 */
-(id) initWithX: (int)xx andY:(int)yy;
/*!
 \brief Gets the horizontal position.
 \returns The horizontal position.
 */
-(int) getX ;

/*!
 \brief Gets the vertical position.
 \returns The vertical position.
 */
-(int) getY ;

@end
